<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>hhh</title>
</head>
<body>
    <table border="1px" cellspacing="0" cellpadding="0">
        <tr>
            <td>姓名</td>
            <td>年龄</td>
            <td>性别</td>
            <td>循环次数</td>
            <td>当前行对象</td>
            <td>偶数返回true</td>
            <td>第一个返回true</td>
            <td>下标值</td>
            <td>最后返回true</td>
            <td>奇数返回true</td>
            <td>长度</td>
        </tr>
        <tr th:each="student,item:${listStudents}">
            <td>[[${student.stuName}]]</td>
            <td>[[${student.age}]]</td>
            <td><input name="sex" type="radio" th:checked="${student.sex eq '男'}">男
                <input name="sex" type="radio" th:checked="${student.sex eq '女'}">女</td>
            <td th:text="${item.count}"></td>
            <td th:text="${item.current}"></td>
            <td th:text="${item.even}"></td>
            <td th:text="${item.first}"></td>
            <td th:text="${item.index}"></td>
            <td th:text="${item.last}"></td>
            <td th:text="${item.odd}"></td>
            <td th:text="${item.size}"></td>
        </tr>
    </table>
</body>
</html>